gdk: Drop event structs from the headers
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Feb 2020 02:22:16 +0000 (21:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Feb 2020 05:51:03 +0000 (00:51 -0500)
All events are GdkEvents now.

gdk/gdkevents.h
gdk/gdkeventsprivate.h

index c08265d739e696a77334e5888f65db20089c1f33..888ca9e5c58332a860b41a5508d84e37430e52a4 100644 (file)
@@ -99,26 +99,6 @@ G_BEGIN_DECLS
 #define GDK_BUTTON_SECONDARY    (3)
 
 
-
-typedef struct _GdkEventAny        GdkEventAny;
-typedef struct _GdkEventMotion     GdkEventMotion;
-typedef struct _GdkEventButton     GdkEventButton;
-typedef struct _GdkEventTouch       GdkEventTouch;
-typedef struct _GdkEventScroll      GdkEventScroll;  
-typedef struct _GdkEventKey        GdkEventKey;
-typedef struct _GdkEventFocus      GdkEventFocus;
-typedef struct _GdkEventCrossing    GdkEventCrossing;
-typedef struct _GdkEventConfigure   GdkEventConfigure;
-typedef struct _GdkEventProximity   GdkEventProximity;
-typedef struct _GdkEventDND         GdkEventDND;
-typedef struct _GdkEventSetting     GdkEventSetting;
-typedef struct _GdkEventGrabBroken  GdkEventGrabBroken;
-typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe;
-typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch;
-typedef struct _GdkEventPadButton   GdkEventPadButton;
-typedef struct _GdkEventPadAxis     GdkEventPadAxis;
-typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode;
-
 typedef struct _GdkEventSequence    GdkEventSequence;
 typedef union  _GdkEvent           GdkEvent;
 
index 6505d548d180d3c870b059a34fce1b361f70a5a6..6cc2aadcbad7d880fd8b9694292ec7bc439d9f4c 100644 (file)
 #include <gdk/gdkdevice.h>
 #include <gdk/gdkdevicetool.h>
 
+
+typedef struct _GdkEventAny         GdkEventAny;
+typedef struct _GdkEventMotion      GdkEventMotion;
+typedef struct _GdkEventButton      GdkEventButton;
+typedef struct _GdkEventTouch       GdkEventTouch;
+typedef struct _GdkEventScroll      GdkEventScroll;
+typedef struct _GdkEventKey         GdkEventKey;
+typedef struct _GdkEventFocus       GdkEventFocus;
+typedef struct _GdkEventCrossing    GdkEventCrossing;
+typedef struct _GdkEventConfigure   GdkEventConfigure;
+typedef struct _GdkEventProximity   GdkEventProximity;
+typedef struct _GdkEventDND         GdkEventDND;
+typedef struct _GdkEventSetting     GdkEventSetting;
+typedef struct _GdkEventGrabBroken  GdkEventGrabBroken;
+typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe;
+typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch;
+typedef struct _GdkEventPadButton   GdkEventPadButton;
+typedef struct _GdkEventPadAxis     GdkEventPadAxis;
+typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode;
+
 /*
  * GdkEventAny:
  * @type: the type of the event.